Introduction to relations and functions